import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SPlayerKillEvil
    
    export  class SPlayerKillEvil extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SPlayerKillEvil();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.needLevel);
            arg1.writeInt(this.releaseNum);
            arg1.writeInt(this.totalReleaseNum);
            arg1.writeInt(this.getNum);
            arg1.writeInt(this.totalGetNum);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.needLevel = arg1.readInt();
            this.releaseNum = arg1.readInt();
            this.totalReleaseNum = arg1.readInt();
            this.getNum = arg1.readInt();
            this.totalGetNum = arg1.readInt();
            return;
        }

        public /* const */_type: int=12120;

        public /* var */needLevel: int;

        public /* var */releaseNum: int;

        public /* var */totalReleaseNum: int;

        public /* var */getNum: int;

        public /* var */totalGetNum: int;

        public static /* var */_regist: SPlayerKillEvil;
    }

            SPlayerKillEvil._regist = new SPlayerKillEvil(true);
        